#include <iostream>

using namespace std;

int d[11];

int main()
{
	d[0] = 1;
	d[1] = 1;
	for (int n = 2; n <= 10; n++)
	{
		d[n] = 0;
		for (int i = 0; i < n; i++) d[n] += d[i] * d[n-1-i]; 
	}

	int ntest = 0;
	int n;
	while (cin >> n)
	{
		if (ntest > 0) cout << endl;
		ntest++;
		
		cout << d[n] << endl;
	}

	return 0;

}
